package cn.softgame.cms.secure.organization.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
 * 组织架构
 * @author yangying
 * 2013-3-29
 */
public class OrganizationBean implements Serializable{

	private static final long serialVersionUID = -4221212966605152639L;

	/**
	 * 组织ID
	 */
	public String orgId;
	/**
	 * 名称
	 */
	private String name;
	/**
	 * 组织树编码
	 */
	private String treeCode;
	/**
	 * 父组织
	 */
	private OrganizationBean parentSysOrg;
	
	private String parentOrgId;
	
	/**
	 * 子模块
	 */
	private List<OrganizationBean> children;
	/**
	 * 是否有效 有效:Y,无效:N
	 */
	private String isValid;
	/**
	 * 创建时间
	 */
	private Date createDate;
	/**
	 * 更新时间
	 */
	private Date updateDate;
	/**
	 * 备注信息
	 */
	private String remark;

	/**
	 * 自定义图标
	 */
	private String iconSkin="orgIcon";
	
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getOrgId() {
		return orgId;
	}
	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTreeCode() {
		return treeCode;
	}
	public void setTreeCode(String treeCode) {
		this.treeCode = treeCode;
	}
	public String getIsValid() {
		return isValid;
	}
	public void setIsValid(String isValid) {
		this.isValid = isValid;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public String getParentOrgId() {
		return parentOrgId;
	}
	public void setParentOrgId(String parentOrgId) {
		this.parentOrgId = parentOrgId;
	}
	public OrganizationBean getParentSysOrg() {
		return parentSysOrg;
	}
	public void setParentSysOrg(OrganizationBean parentSysOrg) {
		this.parentSysOrg = parentSysOrg;
	}
	public List<OrganizationBean> getChildren() {
		return children;
	}
	public void setChildren(List<OrganizationBean> children) {
		this.children = children;
	}
	public String getIconSkin() {
		return iconSkin;
	}
	public void setIconSkin(String iconSkin) {
		this.iconSkin = iconSkin;
	}
}
